package com.code.app.db;

import android.database.sqlite.SQLiteDatabase;

import java.util.List;

public interface IDaoSupport<T> {

    long insert(T t) ;

    void insert(List<T> list) ;

    void init(SQLiteDatabase sqLiteDatabase, Class<T> cls) ;

     List<T> query() ;

     int delete(String whereClause,String[] whereArgs) ;

     int update(T obj,String whereClause,String ... whereArgs) ;
}
